package cn.xxxy.fourm.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import cn.xxxy.fourm.entity.Board;

public interface BoardDao extends JpaRepository<Board, Integer>{
	@Query(value="select * from t_board where id=1",nativeQuery=true)
	List<Board> findAllBoard();
}
